package domain.service.event;

import domain.dao.event.EventImgInfoDao;
import domain.entity.event.EventImgInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by bowen on 2017-08-17.
 */
@Service
public class EventImgInfoService {

    @Autowired
    private EventImgInfoDao imgInfoDao;

    public List<EventImgInfo> getImgsByEventId(long eventId){
        return imgInfoDao.getImgsByEventId(eventId);
    }
}
